﻿<Window x:Class="AdminMainUI.HostConfigWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="HostConfig: {0}" Height="427" Width="300" ResizeMode="NoResize" Icon="/Appfabric Administrator;component/Images/server.ico">
    <Grid>
        <Label Content="Host Name:" Height="28" HorizontalAlignment="Left" Margin="12,12,0,0" Name="label1" VerticalAlignment="Top" />
        <Label Content="Cluster Port:" Height="28" HorizontalAlignment="Left" Margin="12,46,0,0" Name="label2" VerticalAlignment="Top" />
        <Label Content="Cache Port:" Height="28" HorizontalAlignment="Left" Margin="12,80,0,0" Name="label3" VerticalAlignment="Top" />
        <Label Content="Arbitration Port:" Height="28" HorizontalAlignment="Left" Margin="12,114,0,0" Name="label4" VerticalAlignment="Top" />
        <Label Content="Replication Port:" Height="28" HorizontalAlignment="Left" Margin="12,148,0,0" Name="label5" VerticalAlignment="Top" />
        <Label Content="Size:" Height="28" HorizontalAlignment="Left" Margin="12,182,0,0" Name="label6" VerticalAlignment="Top" />
        <Label Content="Service Name:" Height="28" HorizontalAlignment="Left" Margin="12,216,0,0" Name="label7" VerticalAlignment="Top" />
        <Label Content="High Watermark:" Height="28" HorizontalAlignment="Left" Margin="12,250,0,0" Name="label8" VerticalAlignment="Top" />
        <Label Content="Low Watermark:" Height="28" HorizontalAlignment="Left" Margin="12,284,0,0" Name="label9" VerticalAlignment="Top" />
        <Label Content="Is Leadhost:" Height="28" HorizontalAlignment="Left" Margin="12,318,0,0" Name="label10" VerticalAlignment="Top" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="112,14,0,0" Name="txtHostName" VerticalAlignment="Top" Width="154" ToolTip="The name of the cache host."/>
        <TextBox Height="23" HorizontalAlignment="Left" Margin="112,48,0,0" Name="txtClusterPort" VerticalAlignment="Top" Width="154" ToolTip="The Cluster port number of the cache host."/>
        <TextBox Height="23" HorizontalAlignment="Left" Margin="112,82,0,0" Name="txtCachePort" VerticalAlignment="Top" Width="154" ToolTip="The Cache port number of the cache host."/>
        <TextBox Height="23" HorizontalAlignment="Left" Margin="112,116,0,0" Name="txtArbitrationPort" VerticalAlignment="Top" Width="154" ToolTip="The Arbitration port number of the cache host."/>
        <TextBox Height="23" HorizontalAlignment="Left" Margin="112,150,0,0" Name="txtReplicationPort" VerticalAlignment="Top" Width="154" ToolTip="The Replication port number of the cache host."/>
        <TextBox Height="23" HorizontalAlignment="Left" Margin="112,184,0,0" Name="txtSize" VerticalAlignment="Top" Width="122" ToolTip="The size in MB of available caching memory on the cache host. This only accounts for items in the cache and not the memory used for the caching service itself. Note that any setting above half the physical memory should be tested thoroughly to ensure that low memory conditions to not occur."/>
        <TextBlock Height="23" HorizontalAlignment="Left" Margin="112,218,0,0" Name="txtServiceName" VerticalAlignment="Top" Width="154" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="112,252,0,0" Name="txtHighWaterMark" VerticalAlignment="Top" Width="122" ToolTip="The high watermark percentage of memory, when eviction should begin evicting objects that have not yet expired."/>
        <TextBox Height="23" HorizontalAlignment="Left" Margin="112,286,0,0" Name="txtLowWaterMark" VerticalAlignment="Top" Width="122" ToolTip="The low watermark percentage of memory. After reaching the high watermark of memory, objects that have not yet expired are evicted until memory reaches this low watermark."/>
        <CheckBox Height="16" HorizontalAlignment="Left" Margin="112,324,0,0" Name="chkIsLeadHost" VerticalAlignment="Top" ToolTip="Specifies whether the given host is a lead host."/>
        <Button Content="Close" Height="23" HorizontalAlignment="Left" Margin="9,353,0,0" Name="btnClose" VerticalAlignment="Top" Width="75" Click="btnClose_Click" ToolTip="Close this window without making any changes."/>
        <Button Content="Save" Height="23" HorizontalAlignment="Left" Margin="191,353,0,0" Name="btnSave" VerticalAlignment="Top" Width="75" Click="btnSave_Click" ToolTip="Save the cache host configuration."/>
        <Label Content="%" Height="28" HorizontalAlignment="Left" Margin="236,250,0,0" Name="label11" VerticalAlignment="Top" />
        <Label Content="%" Height="28" HorizontalAlignment="Left" Margin="236,284,0,0" Name="label12" VerticalAlignment="Top" />
        <Label Content="MB" Height="28" HorizontalAlignment="Left" Margin="238,182,0,0" Name="label13" VerticalAlignment="Top" />
    </Grid>
</Window>
